package com.duguo.dynamicmvc.model.validator;



public class NumberFormatValidator  extends AbstractValidator{

	private String _numberType;
	
	public NumberFormatValidator() {
	}

	public NumberFormatValidator(String numberType) {
		_numberType=numberType;
		setName(numberType+".invalid");
	}
	
	public String getNumberType(){
		return _numberType;
	}
	
	public void setNumberType(String numberType){
		_numberType=numberType;
		setName(numberType+".invalid");
	}
}
